﻿<%@ Page Language="C#" MasterPageFile="~/Theme/Stander/Stander.master" AutoEventWireup="true" CodeFile="ExceptionTest.aspx.cs" Inherits="System_ExceptionTest" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <p>
        <asp:Button ID="RaiseException" runat="server" Text="抛出异常" OnClick="RaiseException_Click" />
    </p>
    <p>
        <asp:Button ID="RaiseSecurityException" runat="server" Text="抛出安全异常" OnClick="RaiseSecurityException_Click" />
    </p>
    <p>
        <asp:Button ID="RaiseValidationException" runat="server" Text="抛出验证异常" OnClick="RaiseValidationException_Click" />
    </p>
    <p>
        <asp:Button ID="RaiseDataPortalException" runat="server" Text="抛出数据访问异常" OnClick="RaiseDataPortalException_Click" />
    </p>
    <p>
        <asp:HyperLink ID="ViewLogLink" runat="server" NavigateUrl="Log.aspx">查看事件日志</asp:HyperLink>
    </p>
    <p>
        <asp:Button ID="btnTestSendEmail" runat="server" Text="测试发送Email" OnClick="btnTestSendEmail_Click" />
    </p>
</asp:Content>

